/// 当前页结果集
class WriteoffOrderPageByTeamIdResponseDto {
  /// 订单号
  final String? orderNum;
  /// 订单接收时间
  final String? acceptTime;
  /// 订单金额，单位奈位
  final int? cashValue;
  /// 订单处理人
  final String? writeoffBy;
  /// 订单处理时间
  final String? writeoffTime;
  /// 核销结果，1通过，0拒绝，2未处理
  final int? writeoffResult;
  /// 提现凭证访问地址
  final String? proofUrl;

  WriteoffOrderPageByTeamIdResponseDto({
    this.orderNum,
    this.acceptTime,
    this.cashValue,
    this.writeoffBy,
    this.writeoffTime,
    this.writeoffResult,
    this.proofUrl,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    if (orderNum != null) data['orderNum'] = orderNum;
    if (acceptTime != null) data['acceptTime'] = acceptTime;
    if (cashValue != null) data['cashValue'] = cashValue;
    if (writeoffBy != null) data['writeoffBy'] = writeoffBy;
    if (writeoffTime != null) data['writeoffTime'] = writeoffTime;
    if (writeoffResult != null) data['writeoffResult'] = writeoffResult;
    if (proofUrl != null) data['proofUrl'] = proofUrl;
    return data;
  }

  factory WriteoffOrderPageByTeamIdResponseDto.fromJson(Map<String, dynamic> json) {
    return WriteoffOrderPageByTeamIdResponseDto(
      orderNum: json['orderNum'],
      acceptTime: json['acceptTime'],
      cashValue: json['cashValue'],
      writeoffBy: json['writeoffBy'],
      writeoffTime: json['writeoffTime'],
      writeoffResult: json['writeoffResult'],
      proofUrl: json['proofUrl'],
    );
  }
}